<option value="0" selected="selected">-Select-</option>

<?php



$cat_select = mysql_query("select * from `category`");
if ( mysql_numrows($cat_select) > 0) {

    while($categories = mysql_fetch_assoc($cat_select) ) {

        //echo "<pre>";

        //print_r($display);

        //echo "</pre>";
        ?>

 <option value="<?php echo $categories['id'];?>"><?php echo $categories['name'];?> </option>





        <?php
    }
}